﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using KpiConfigProject.DataBase;
using KpiConfigProject.Manager;
using KpiConfigProject.Entity;
using KpiConfigProject.ChildForm;

namespace KpiConfigProject
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void tsb_Exit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MainForm_Load(object sender, EventArgs e)
        {
        }



        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void tsm_KpiGroupConfig_Click(object sender, EventArgs e)
        {
            KpiGroupConfigFrm frm = new KpiGroupConfigFrm();
            frm.MdiParent = this;
            frm.Dock = DockStyle.Fill;
            frm.Show();
        }

        private void tsm_Dimension_Click(object sender, EventArgs e)
        {
            DimensionConfigForm frm = new DimensionConfigForm();
            frm.MdiParent = this;
            frm.Dock = DockStyle.Fill;
            frm.Show();
        }

        private void tsm_KpiInfo_Click(object sender, EventArgs e)
        {
            KpiInfoConfigForm frm = new KpiInfoConfigForm();
            frm.MdiParent = this;
            frm.Dock = DockStyle.Fill;
            frm.Show();
        }

        private void tsm_DrillInfo_Click(object sender, EventArgs e)
        {
            DrillConConfigForm frm = new DrillConConfigForm();
            frm.MdiParent = this;
            frm.Dock = DockStyle.Fill;
            frm.Show();
        }


    }
}
